package com.shuwen.gcdj.bean.basicsEquitment.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shuwen.gcdj.bean.sysDictionary.response.SysDictionaryResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 设备表
 */

@Data
@ApiModel
public class EquipmentResp {

    @ApiModelProperty("设备id")
    private String id;

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("区域位置")
    private Integer areaLocation;

    @ApiModelProperty("安装位置")
    private Integer installLocation;

    @ApiModelProperty("管理员")
    private String manager;

    @ApiModelProperty("设计资料")
    private String resourceId;

    @ApiModelProperty("投产日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate commissioningDate;

    @ApiModelProperty("第三方数据访问路径(单机数据)")
    private String singleScenario;
}
